<div ng-controller="ClassesCtrl" ng-init="listAction()">
    <ul class="sui-breadcrumb">
        <li><a href="#/classes/list">课程表分类</a></li>
        <li>列表
            <a href="#/classes/category" class="sui-btn btn-primary">新建</a></li>
        </li>
        <span class="sui-form sui-form pull-right"> 
          <wx-qrcode stype="'WYSK'" title="扫码上课二维码"></wx-qrcode></li>
          <input type="text"  placeholder="{{'keyword'|translate}}"  ng-model="name">
          <button class="sui-btn btn-primary" type="submit" ng-click="getCateList()">{{'search'|translate}}</button>
        </span>
    </ul>
    <!-- catitems -->
    <!-- chosedMember -->
    <!-- /类目 -->
    <!-- 商品 -->
    <!-- <category-tab ng-model="cstatus" click-tab="getItemList(1)"></category-tab> -->
    <table class="sui-table table-bordered">
        <thead>
            <tr>
                <th>{{'课程id'|translate}}</th>
                <th>{{'课程名称'|translate}}</th>
                <th>{{'operation'|translate}}</th>
            </tr>
        </thead>
        <tbody>
            <tr ng-repeat="list in class_list">
                <td>{{list.class_category_id}}</td>
                <td>{{list.name}}
                <a href="#/classes/category?class_category_id={{list.class_category_id}}"> {{'(改名)'|translate}} </a>
                </td>
                <td>
                    <a href="#/classes/kclist?class_category_id={{list.class_category_id}}" class="sui-btn btn-primary"> {{'查看课程'|translate}} </a>

                </td>
            </tr>
        </tbody>
    </table>
    <pager page-no="1" page-size="pageSize" total="total_count" get-data="getCateList(pageNo)"></pager>
    <!-- 分页end -->
</div>